package com.momoauth.api_client.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
@DS("momo_auth")
@TableName("system_log")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class System_Log {
    @TableId(value = "logId", type = IdType.ASSIGN_ID)
    private Long logId;
    private String requestMethod; //请求方式
    private String requestIp; //请求IP
    private String requestUrl; //请求URL
    private String className; //类名
    private String methodName; //方法名
    private String parameters; //请求参数
    private String value; //@SystemLog的value值
    private String description; //@SystemLog的description值
    private String returnValue; //返回值
    private String executeTime; //请求执行时间（耗时）
    @TableField(exist = false)
    private Integer currentPage; //页码
    @TableField(exist = false)
    private Long pageSize; //计数
}
